﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Model
{
    
        ///<summary>
        ///
        ///</summary>
        [SugarTable("Student")]
        public partial class Student
        {
            public Student()
            {


            }
            /// <summary>
            /// Desc:
            /// Default:
            /// Nullable:False
            /// </summary>           
            [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
            public int stu_id { get; set; }

            /// <summary>
            /// Desc:
            /// Default:
            /// Nullable:False
            /// </summary>           
            public string stu_no { get; set; }

            /// <summary>
            /// Desc:
            /// Default:
            /// Nullable:False
            /// </summary>           
            public string pwd { get; set; }

            /// <summary>
            /// Desc:
            /// Default:
            /// Nullable:False
            /// </summary>           
            public string stu_name { get; set; }

            /// <summary>
            /// Desc:
            /// Default:
            /// Nullable:False
            /// </summary>           
            public int major_id { get; set; }

            /// <summary>
            /// Desc:
            /// Default:
            /// Nullable:False
            /// </summary>           
            public int grade { get; set; }

            /// <summary>
            /// Desc:
            /// Default:
            /// Nullable:True
            /// </summary>           
            public string phone { get; set; }

            /// <summary>
            /// Desc:
            /// Default:
            /// Nullable:True
            /// </summary>           
            public int? group_id { get; set; }

            /// <summary>
            /// Desc:
            /// Default:-1
            /// Nullable:False
            /// </summary>           
            public int is_gleader { get; set; }

        }
    
}
